package com.cxrj.zhsq.housePropertyManage.dao;

import java.util.List;
import java.util.Map;

import com.cxrj.zhsq.housePropertyManage.entity.PropertyHouse;
import com.cxrj.zhsq.housePropertyManage.entity.PropertyOwner;

public interface PropertyHouseMapper {
    int deleteByPrimaryKey(String id);

    int insert(PropertyHouse record);

    int insertSelective(PropertyHouse record);

    PropertyHouse selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PropertyHouse record);

    int updateByPrimaryKey(PropertyHouse record);

	int selectByCount(Map<String, Object> sqlMap);

	List<PropertyHouse> selectHouseList(Map<String, Object> sqlMap);

	List<String> selectNumberPeriods(Map<String, Object> sqlMap);

	List<String> selectBuilding(Map<String, Object> sqlMap);

	List<String> selectUnit(Map<String, Object> sqlMap);

	List<String> selectDoorCard(Map<String, Object> sqlMap);

	int selectCheckingBuilding(Map<String, Object> sqlMap);

	int selectCheckingDoorCard(Map<String, Object> sqlMap);

	int updateByIds(String[] ids);

	int updateStateById(Map<String, Object> sqlMap);

	int updateStateByHouse(List<PropertyOwner> list);
}